interface KHTMLElement {
    /**
     * 创建元素
     * @param tagName 标签名 'div' or '<div>'
     * @param options 参数
     * @returns 创建的子元素
     */
    createElement(tagName: string, options?: Tdom_options): KHTMLElement;
}
{
    Object.defineProperty(KHTMLElement.prototype, 'createElement', {
        writable: false,
        configurable: false,
        enumerable: false,
        value: function (this: KHTMLElement, tagName: string, options?: Tdom_options) {
            const ele = U.D.createElement(tagName, options);
            const parent_ele = this.ele();
            if (parent_ele) { parent_ele.appendChild(ele.ele()!); }
            return ele;
        }
    });
}
